.page {
  overflow: hidden;
}

.view {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  // --bottom-sheet-max-height: 80vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #07476a;
}

.headerBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  margin-bottom: 30rpx;
  .wkBtm {
    width: 200rpx;
    height: 70rpx;
    background-color: #fff;
    color: #07476a;
    border-radius: 36rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32rpx;
  }

  .wkBtmActive {
    background-color: #75c2ec;
    color: #07476a;
  }
}

.image {
  width: 160rpx;
  height: 160rpx;
}

.controlBox {
  width: 240rpx;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.musicContent {
  margin-bottom: 20rpx;
  width: 300rpx;
  margin-left: 30rpx;
}

.play {
  width: 72rpx;
  height: 72rpx;
}

.control {
  width: 40rpx;
  height: 40rpx;
}

.sliderPic {
  width: 36rpx;
  height: 36rpx;
}

.center {
  justify-content: center;
  align-items: center;
}

.button {
  display: flex;
  flex-direction: column;
  height: 80rpx;
  border-radius: 40rpx;
  justify-content: center;
  margin-left: 40rpx;
  margin-right: 40rpx;
  margin-top: 40rpx;
  width: 90%;
  color: white;
  position: relative;
}

.devName {
  padding: 1px 20px 1px 40rpx;
  margin-bottom: 32rpx;
  font-size: 22px;
  font-weight: 600;
  line-height: 41px;
  letter-spacing: 0px;
  text-align: left;
  color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 600rpx;
}

.flexCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex1 {
  flex: 1;
}

.greyCard {
  border-radius: 32rpx;
  height: 132rpx;
  align-items: center;
  padding: 48rpx 32rpx;
  width: 303rpx;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  &:not(:nth-child(1)):not(:nth-child(2)) {
    margin-top: 18rpx;
  }
  .funcTitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 40rpx;
    color: rgba(255, 255, 255, 0.9);
  }
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  .icon {
    margin-right: 18rpx;
    width: 48rpx;
    height: 48rpx;
  }

  .label {
    font-size: 28rpx;
    font-weight: 400;
  }

  .value {
    font-size: 28rpx;
    font-weight: 600;
    color: #1961ce;
  }
}

.title {
  margin-bottom: 18rpx;
  font-size: 14px;
  font-weight: 600;
  line-height: 40rpx;
  text-align: left;
  color: #fff;
}

.slideUpContainer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;

  &.active {
    transform: translateY(0);
  }
}

.slideUpContent {
  // transition: transform 0.3s ease-out;
  padding-inline: 30rpx;

  // &.active {
  //   transform: translateY(-400px);
  // }

  .cell {
    border-radius: 20rpx !important;
    --cell-horizontal-padding: 10rpx;
    padding-left: 40rpx !important;
    padding-right: 20rpx !important;
    margin-bottom: 20rpx;

    .smart-cell__left-icon {
      width: 40rpx;
      height: 40rpx;
      margin-top: 10rpx;
    }
  }

  .cellNoBtm {
    border-radius: 20rpx !important;
    --cell-horizontal-padding: 10rpx;
    padding-left: 40rpx !important;
    padding-right: 20rpx !important;
    margin-bottom: 0rpx;

    .smart-cell__left-icon {
      width: 40rpx;
      height: 40rpx;
      margin-top: 10rpx;
    }
  }

  .transformCell {
    border-radius: 10rpx !important;
    --cell-horizontal-padding: 10rpx;
    padding-left: 40rpx !important;
  }
  .transformBox {
    background-color: var(--cell-background-color, #1c72a1);
    margin-top: -5rpx;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding-block 0.5s ease-in-out;
    overflow: hidden;
    max-height: 0;

    &.transformBoxActive {
      max-height: 500px;
      min-height: 1px;
      padding-top: 10rpx;
      padding-bottom: 40rpx;
    }
  }
}

.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.content {
  display: flex;
  justify-content: center;
  font-size: 40rpx;
  background: var(--app-B1, #f6f7fb);
  color: var(--app-B4-N1, #3d3d3d);
}

.footer {
  margin: 16px 0;
}

.card {
  border-radius: 20rpx;
  min-height: 100rpx;
  margin-bottom: 20rpx;
  // box-shadow: 0 0 12rpx rgba(0, 0, 0, 0.1);
}

.cardContent {
  padding-block: 30rpx;
}

.musicBox {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.sliderBox {
  height: 60rpx;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 20rpx;
}

.sliderText {
  width: 60rpx;
  text-align: right;
  font-size: 24rpx;
  color: #fff;
}
.tab {
  // margin-inline: 40rpx;
  background-color: #07476a;
  color: #fff;
  height: 80rpx;
  width: 200rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20rpx;
}

.tabSmall {
  background-color: #07476a;
  color: #fff;
  height: 50rpx;
  width: 132rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10rpx;
  font-size: 12px;
}

.tabActive {
  background-color: #fff;
  color: #1c72a1;
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-inline: 20rpx;
}

.borBot {
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;
}

.navBar {
  --nav-bar-background-color: transparent;
  --nav-bar-title-text-color: #fff;
  --nav-bar-arrow-color: #fff !important;

  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;

  .tabTopIconWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 36rpx;
      width: 36rpx;
      object-fit: contain;
    }
  }
  .tabTopIconWrapLeft {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 48rpx;
    height: 48rpx;
    & > image {
      height: 36rpx;
      width: 20rpx;
      object-fit: contain;
    }
  }
}

.customCellBox {
  background-color: var(--cell-background-color, #1c72a1);

  border-radius: 20rpx;
  min-height: 100rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 0 12rpx rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.voiceContent {
  background-color: #07476a;
  margin-inline: 20rpx;
  // height: 174px;
  margin-top: 17rpx;
  border-radius: 25rpx;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20rpx;
  padding: 20rpx;
}

.editIcon {
  width: 40rpx;
  height: 40rpx;
}

.voiceItem {
  height: 92rpx;
  width: 92rpx;
}

.voiceItemBox {
  // overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

// .voiceItem {
//   width: 72rpx;
//   height: 72rpx;
//   margin-bottom: 8rpx;
// }

.voiceItemName {
  font-size: 20rpx;
  text-align: center;
  width: 100%;
  max-width: 92rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 10rpx;
  color: #fff;
}

.currentMusic {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 240rpx;
  margin-bottom: 25rpx;

  .current {
    width: 83rpx;
    height: 83rpx;
    margin-bottom: 12rpx;
  }
  .currentMusicName {
    font-size: 24rpx;
    color: #fff;
  }
}

.numberView {
  position: absolute;
  width: 120rpx;
  height: 40rpx;
  bottom: 22rpx;
  left: 10rpx;
  z-index: 22;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  .numbers {
    height: 20rpx;
    object-fit: contain;
  }
}

.logoBox {
  padding-right: 100rpx;
  position: relative;
}

.logo {
  height: 253rpx;
  width: 143rpx;
  position: relative;
  top: -18rpx;

  .logoTop {
    height: 253rpx;
    width: 143rpx;
    position: absolute;
    object-fit: contain;
    top: 0;
    left: 0;
  }
  .logoBot {
    height: 253rpx;
    width: 143rpx;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
  }
}

.sceneIcon {
  height: 40rpx;
  width: 40rpx;
}

.lightIcon {
  position: relative;
  top: -4rpx;
}

@keyframes fadeInOut {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.breath {
  // 添加更明确的动画属性设置
  animation-name: fadeInOut;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: both; // 保持动画结束时的状态
  animation-play-state: running; // 确保动画处于运行状态
}
